package com.coding.springboot.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by qince on 2015/8/10.
 */
@Entity
@Table(name = "t_account")
public class Taccount extends IDEntity{
    @Column(name = "NAME",length = 64)
    private String name;
    @Column(name = "PASSWORD",length = 64)
    private String password;
    @Column(name = "SALT",length = 64)
    private String salt;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    @Override
    public String toString() {
        return "Taccount{" +
                "salt='" + salt + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
